.TH "WarriorFactory" 3 "Sat Dec 7 2019" "DesignPattern" \" -*- nroff -*-
.ad l
.nh
.SH NAME
WarriorFactory
.SH SYNOPSIS
.br
.PP
.PP
\fC#include <DESIGNPATTERN_ComplexFactory\&.h>\fP
.PP
Inherits \fBComplexFactory\fP\&.
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "virtual \fB~WarriorFactory\fP ()"
.br
.ti -1c
.RI "virtual \fBProfession\fP * \fBCreateProfession\fP ()"
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static \fBComplexFactory\fP * \fBInstance\fP ()"
.br
.ti -1c
.RI "static \fBVOID\fP \fBDestroy\fP ()"
.br
.in -1c
.SS "Private Member Functions"

.in +1c
.ti -1c
.RI "\fBWarriorFactory\fP ()"
.br
.ti -1c
.RI "\fBWarriorFactory\fP (const \fBWarriorFactory\fP &cWarriorFactory)"
.br
.ti -1c
.RI "\fBWarriorFactory\fP & \fBoperator=\fP (const \fBWarriorFactory\fP &cWarriorFactory)"
.br
.in -1c
.SS "Static Private Attributes"

.in +1c
.ti -1c
.RI "static \fBWarriorFactory\fP * \fBm_pInstance\fP = NULL"
.br
.in -1c
.SS "Additional Inherited Members"
.SH "Detailed Description"
.PP 
Definition at line 92 of file DESIGNPATTERN_ComplexFactory\&.h\&.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "WarriorFactory::~WarriorFactory ()\fC [virtual]\fP"
Destruction
.PP
\fBParameters\fP
.RS 4
\fIVOID\fP 
.RE
.PP
\fBReturns\fP
.RS 4
.RE
.PP

.PP
Definition at line 104 of file DESIGNPATTERN_ComplexFactory\&.cpp\&.
.SS "WarriorFactory::WarriorFactory ()\fC [private]\fP"
Construction
.PP
\fBParameters\fP
.RS 4
\fIVOID\fP 
.RE
.PP
\fBReturns\fP
.RS 4
.RE
.PP

.PP
Definition at line 92 of file DESIGNPATTERN_ComplexFactory\&.cpp\&.
.SS "WarriorFactory::WarriorFactory (const \fBWarriorFactory\fP & cWarriorFactory)\fC [private]\fP"
Copy Construction
.PP
\fBParameters\fP
.RS 4
\fIconst\fP \fBWarriorFactory\fP& cWarriorFactory 
.RE
.PP
\fBReturns\fP
.RS 4
.RE
.PP

.SH "Member Function Documentation"
.PP 
.SS "\fBProfession\fP * WarriorFactory::CreateProfession ()\fC [virtual]\fP"
Create \fBProfession\fP
.PP
\fBParameters\fP
.RS 4
\fIVOID\fP 
.RE
.PP
\fBReturns\fP
.RS 4
Profession* 
.RE
.PP
\fBNote\fP
.RS 4
create \fBWarrior\fP 
.RE
.PP

.PP
Implements \fBComplexFactory\fP\&.
.PP
Definition at line 152 of file DESIGNPATTERN_ComplexFactory\&.cpp\&.
.SS "\fBVOID\fP WarriorFactory::Destroy ()\fC [static]\fP"
Destroy
.PP
\fBParameters\fP
.RS 4
\fIVOID\fP 
.RE
.PP
\fBReturns\fP
.RS 4
VOID 
.RE
.PP
\fBNote\fP
.RS 4
singleton 
.RE
.PP

.PP
Definition at line 135 of file DESIGNPATTERN_ComplexFactory\&.cpp\&.
.SS "\fBComplexFactory\fP * WarriorFactory::Instance ()\fC [static]\fP"
Instance
.PP
\fBParameters\fP
.RS 4
\fIVOID\fP 
.RE
.PP
\fBReturns\fP
.RS 4
ComplexFactory* 
.RE
.PP
\fBNote\fP
.RS 4
singleton 
.RE
.PP

.PP
Definition at line 117 of file DESIGNPATTERN_ComplexFactory\&.cpp\&.
.SS "\fBWarriorFactory\fP& WarriorFactory::operator= (const \fBWarriorFactory\fP & cWarriorFactory)\fC [private]\fP"
Assignment
.PP
\fBParameters\fP
.RS 4
\fIconst\fP \fBWarriorFactory\fP& cWarriorFactory 
.RE
.PP
\fBReturns\fP
.RS 4
\fBWarriorFactory\fP& 
.RE
.PP

.SH "Member Data Documentation"
.PP 
.SS "\fBWarriorFactory\fP * WarriorFactory::m_pInstance = NULL\fC [static]\fP, \fC [private]\fP"

.PP
Definition at line 158 of file DESIGNPATTERN_ComplexFactory\&.h\&.

.SH "Author"
.PP 
Generated automatically by Doxygen for DesignPattern from the source code\&.
